package com.punai.dataanalysis.srlib.vo;

import com.punai.common.annotation.Excel;
import org.springframework.web.multipart.MultipartFile;

import java.math.BigDecimal;
import java.util.Date;

public class GovernmentPriceVo {
    private String id;

    private String type;

    private String categoryId;

    @Excel(name = "材料名称", sort = 1)
    private String name;
    private String uploadAddress;
    private Date uploadDate;
    private Integer orderNum;

    @Excel(name = "材料编码", sort = 0)
    private String code;
    @Excel(name = "材料特征", sort = 3)
    private String spec;
    @Excel(name = "材料单位", sort = 2)
    private String unit;
    private String materialId;
    private String recordId;
    @Excel(name = "税率", sort = 4)
    private BigDecimal tax;
    @Excel(name = "含税价", sort = 5)
    private BigDecimal priceWithTax;
    @Excel(name = "除税价", sort = 6)
    private BigDecimal priceWithNotTax;
    @Excel(name = "品牌", sort = 7)
    private String brand;

    private MultipartFile uploadFile;
    private BigDecimal maxPrice;
    private BigDecimal minPrice;

    private String isDel;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUploadAddress() {
        return uploadAddress;
    }

    public void setUploadAddress(String uploadAddress) {
        this.uploadAddress = uploadAddress;
    }

    public Date getUploadDate() {
        return uploadDate;
    }

    public void setUploadDate(Date uploadDate) {
        this.uploadDate = uploadDate;
    }

    public MultipartFile getUploadFile() {
        return uploadFile;
    }

    public void setUploadFile(MultipartFile uploadFile) {
        this.uploadFile = uploadFile;
    }

    public Integer getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }

    public String getRecordId() {
        return recordId;
    }

    public void setRecordId(String recordId) {
        this.recordId = recordId;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getSpec() {
        return spec;
    }

    public void setSpec(String spec) {
        this.spec = spec;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getMaterialId() {
        return materialId;
    }

    public void setMaterialId(String materialId) {
        this.materialId = materialId;
    }

    public BigDecimal getTax() {
        return tax;
    }

    public void setTax(BigDecimal tax) {
        this.tax = tax;
    }

    public BigDecimal getPriceWithTax() {
        return priceWithTax;
    }

    public void setPriceWithTax(BigDecimal priceWithTax) {
        this.priceWithTax = priceWithTax;
    }

    public BigDecimal getPriceWithNotTax() {
        return priceWithNotTax;
    }

    public void setPriceWithNotTax(BigDecimal priceWithNotTax) {
        this.priceWithNotTax = priceWithNotTax;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(String categoryId) {
        this.categoryId = categoryId;
    }

    public BigDecimal getMaxPrice() {
        return maxPrice;
    }

    public void setMaxPrice(BigDecimal maxPrice) {
        this.maxPrice = maxPrice;
    }

    public BigDecimal getMinPrice() {
        return minPrice;
    }

    public void setMinPrice(BigDecimal minPrice) {
        this.minPrice = minPrice;
    }

    public String getIsDel() {
        return isDel;
    }

    public void setIsDel(String del) {
        isDel = del;
    }

    public static class ExportMianTable{
        @Excel(name = "材料编码", sort = 0)
        private String code;
        @Excel(name = "材料名称", sort = 1)
        private String name;
        @Excel(name = "材料单位", sort = 2)
        private String unit;
        @Excel(name = "材料特征", sort = 3)
        private String spec;
        @Excel(name = "税率", sort = 4)
        private BigDecimal tax;
        @Excel(name = "含税价", sort = 5)
        private BigDecimal priceWithTax;
        @Excel(name = "除税价", sort = 6)
        private BigDecimal priceWithNotTax;
        @Excel(name = "最高价", sort = 7)
        private BigDecimal maxPrice;
        @Excel(name = "最低价", sort = 8)
        private BigDecimal minPrice;

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getUnit() {
            return unit;
        }

        public void setUnit(String unit) {
            this.unit = unit;
        }

        public String getSpec() {
            return spec;
        }

        public void setSpec(String spec) {
            this.spec = spec;
        }

        public BigDecimal getTax() {
            return tax;
        }

        public void setTax(BigDecimal tax) {
            this.tax = tax;
        }

        public BigDecimal getPriceWithTax() {
            return priceWithTax;
        }

        public void setPriceWithTax(BigDecimal priceWithTax) {
            this.priceWithTax = priceWithTax;
        }

        public BigDecimal getPriceWithNotTax() {
            return priceWithNotTax;
        }

        public void setPriceWithNotTax(BigDecimal priceWithNotTax) {
            this.priceWithNotTax = priceWithNotTax;
        }

        public BigDecimal getMaxPrice() {
            return maxPrice;
        }

        public void setMaxPrice(BigDecimal maxPrice) {
            this.maxPrice = maxPrice;
        }

        public BigDecimal getMinPrice() {
            return minPrice;
        }

        public void setMinPrice(BigDecimal minPrice) {
            this.minPrice = minPrice;
        }
    }
}
